package com.entity;

public class Response<T> {
    public Response(){
    }
    private T value;
    private int statusCode;
    private String message;

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Response(T value, int statusCode, String message) {
        this.value = value;
        this.statusCode = statusCode;
        this.message = message;
    }
}
